<?php
    $admin_id = $this->session->userdata('user_id');
    echo $erreur;
?>
<div id="news_detail_wrapper">
    <?php echo  form_open(base_url() . 'index.php/accueil/change_pass'. '/' . $admin_id);?>
    <?php
    echo validation_errors();
    ?>

	<div id="news_detail_act">Changement du mot de passe</div>
  
        <table id="formactu" cellpadding="10px" cellspacing="0">
            <tr> <td>Ancien mot de passe</td> <td><input type="password" name="apass"/></td> </tr>
            <tr> <td>Nouveau mot de passe</td> <td><input type="password" name="npass" /></td> </tr>
            <tr> <td>Confirmation nouveau mot de passe</td> <td><input type="password" name="confirm_npass" /></td> </tr>
            <tr> <td></td> <td><input value="Change pass" type="submit" name="submit"/></td> </tr>
        </table>

    <?php echo form_close() ?>
</div>